center layout: Fix handling of expanding center child
authorMatthias Clasen <mclasen@redhat.com>
Fri, 1 Jan 2021 16:02:57 +0000 (11:02 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 1 Jan 2021 16:02:57 +0000 (11:02 -0500)
commit2d3885a44ab3c9c815d15b4f9571c2161599f7fb
tree6ae77b77b0b7c3795f4eaaa4285ea8886c1ac29c
parent572649740e58d7c9cd5d42e732b8fbf6c93290f3
center layout: Fix handling of expanding center child

We were not taking spacing into account when adjusting
the size of an expanding center child, causing it to slip
under the end child at times.

Fixes: #3506
gtk/gtkcenterlayout.c